package org.goldenport.g3.sample

import org.goldenport.g3._

/**
 * @since   Mar. 28, 2010
 * @version Jul. 27, 2010
 * @author  ASAMI, Tomoharu
 **/
class G3Hello2 extends G3Application {
  agent('hello) {case _ => "Hello World"}

  start invoke("hello")
}

object G3Hello2Main {
  def main(args: Array[String]) {
    val hello = new G3Hello2
    hello.open(args: _*)
    val result = hello.execute(args: _*)
    println("G3Hello2Main: " + result)
    hello.close()
  }
}
